#!/bin/sh
export LIB=lib
export CLASSPATH=jooneDTE-dl.jar:joone-engine.jar:jakarta-poi.jar:bsh.jar:$LIB/jini-core.jar:$LIB/jini-ext.jar:$LIB/computefarm-0.7.jar:$LIB/spring-core.jar:$LIB/commons-logging.jar

java -cp $CLASSPATH -Djava.rmi.server.codebase="http://$HOSTNAME:8383/jooneDTE-dl.jar http://$HOSTNAME:8383/joone-engine.jar http://$HOSTNAME:8383/jakarta-poi.jar http://$HOSTNAME:8383/bsh.jar" -Djava.security.manager=  -Djava.security.policy=./policy.all org.joone.dte.JooneJobRunner $1